<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
	<ul>
	<% 
	if (giCurBlock > 0) {  // 이전Page표시    
%> 
			<li><a href="<%=pageName%>?searchGubn=<%=searchGubn %>&amp;searchValue=<%=searchValue %>&amp;txtSelectPage=<%= giBlockSize + ((giCurBlock - 1) * giBlockSize)%>&amp;txtSelectBlock=<%= giCurBlock - 1%>">[Prev]</a></li>
<%	
	}else{ 
%>
			<li>[Prev]</li>

<%	
	} 

	for (int i=(giCurBlock * giBlockSize) + 1; i < (giCurBlock * giBlockSize) + (giBlockSize + 1); i++) {  // 분기 Page Display  
        if (i > giTotPage) { break; }   // for문 빠져나가기.... 
        if (giCurPage == i) {      // 현재 Page이면 (Link안됨)....
%>		
			<li><span><%=i %></span></li>
<%
       }else{                  // 현재 Page가 아니면 (Link)....
%>
			<li><a href="<%=pageName%>?searchGubn=<%=searchGubn %>&amp;searchValue=<%=searchValue %>&amp;txtSelectPage=<%= i%>&amp;txtSelectBlock=<%= giCurBlock%>"><%=i %></a></li>
<%  
       } // end if
    }    // end for
	if (giCurBlock + 1 < giTotBlock) {  // 이후Page 표시
%>		
			<li><a href="<%=pageName%>?searchGubn=<%=searchGubn %>&amp;searchValue=<%=searchValue %>&amp;txtSelectPage=<%= (giBlockSize * (giCurBlock + 1)) + 1%>&amp;txtSelectBlock=<%= giCurBlock + 1%>">[Next]</a></li>	
<%	
	}else{
%>
			<li>[Next]</li>
<%	
	} 
%>
			</ul>